package com.rgs.se.design.factory;

import lombok.Data;

/**
 * @author Ren Gaoshuai
 * @ClassName Student
 * @Description TODO
 * @date 2022-02-28 15:42
 **/
@Data
public class Student implements Person{

    public Student(){
        System.out.println("学生对象被创建");
    }
    @Override
    public void eat() {
        System.out.println("学生吃");
    }

    @Override
    public void sleep() {
        System.out.println("学生睡");

    }
}
